const schedule = require("node-schedule"); //定时器
const jd_export_app = require("./mongo.jd.exporter");
const jd_retrench_app = require("./mongo.jd.retrencher")

let rule1 = new schedule.RecurrenceRule();
rule1.second = 00;
rule1.minute = 25;
rule1.hour = 8;
let job1 = schedule.scheduleJob(rule1, jd_export_app);

let rule2 = new schedule.RecurrenceRule();
rule2.second = 00;
rule2.minute = 07;
rule2.hour = 12;
let job2 = schedule.scheduleJob(rule2, jd_retrench_app);



